<template>
    <div>
        <transition name="fade-transform" mode="out-in">
                <router-view/>
        </transition>
    </div>
</template>

<script>
export default {
    data() {
        return {

        }
    },
}
</script>
<style lang='scss' scoped>
.fade-transform-enter-active,
.fade-transform-leave-active {
    transition: all 0.5s;
}

.fade-transform-enter {
    opacity: 0;
    transform: translateX(30px);
}

.fade-transform-leave-to {
    opacity: 0;
    transform: translateX(-30px);
}
</style>
